﻿using RockBus.DataContracts;
using System.ServiceModel.Channels;

namespace RockBus.Routing.Interfaces
{
    public interface IPipelineManager
    {
        Message ProcessInboundRequest(Message message, ReceivePortDetail receivePortDetail);

        Message ProcessOutboundResponse(Message message, ReceivePortDetail receivePortDetail);

        Message ProcessOutboundRequest(Message message, SubscriptionDetail subscriptionDetail);

        Message ProcessInboundResponse(Message message, SubscriptionDetail subscriptionDetail);
    }
}